package controle;

import factory.ConnectionFactory;

public class Sistema {
	
	private static ConnectionFactory connectionFactory;
	
	public static ConnectionFactory getDAOFactory() {
		if (connectionFactory == null)
			connectionFactory = new ConnectionFactory(connectionFactory.MYSQLNDB);
		return connectionFactory;
	}

}
